add_library(mul STATIC mul.cu)

set_property(TARGET mul PROPERTY CUDA_SEPARABLE_COMPILATION ON)
set_property(TARGET mul PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET mul PROPERTY CUDA_RESOLVE_DEVICE_SYMBOLS ON)